import Vue from "vue";
import Vuex from 'vuex'
import * as getters from './getters'
import * as actions from './actions'
import * as mutations from './mutations'

Vue.use(Vuex)
const state  = new Vuex.Store({

    state:{
        currentUserName: null,
        currentUserId: null,
        isLogin: false
    },
    getters,
    actions,
    mutations
})
export default state
